Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp authored Jan 16, 2024
1 parent 5a70ea3 commit de25cda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v2/controller/pack.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export class PackController extends Controller {
* @param new_pack pack ID to replace with
*/
@Put("rename/{old_pack}/{new_pack}")
@Security("bot")
@Security("discord", ["administrator"])
public async renamePack(@Path() old_pack: AnyPack, @Path() new_pack: string): Promise<void> {
return this.service.renamePack(old_pack, new_pack);
}
Expand Down

0 comments on commit de25cda

Please sign in to comment.