Skip to content

Commit

Permalink
allow admin to submit all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Sep 16, 2023
1 parent fd18772 commit 8511b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usecase/package/usecase.v
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fn check_vcs(url string, username string) !string {
continue
}

if !url.starts_with(vcs.format_url(protocol, host, username)) {
if !url.starts_with(vcs.format_url(protocol, host, username)) && username != 'medvednikov' {
return error('You must submit a package from your own account')
}

Expand Down

0 comments on commit 8511b89

Please sign in to comment.