mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
8487ed92cd
For "woodpecker-ci" the `name` is "Woodpecker CI" and the `login` is "woodpecker-ci" Fixes #2092 This was causing the organization lookup to fail, because it looks up using the `login`, when it did not find the organization, it would try to create it. The creation would fail, because it uses the `name`, and an organization with that `name` already exists. Resulting in: ``` pq: duplicate key value violates unique constraint "UQE_orgs_name" ``` |
||
---|---|---|
.. | ||
api | ||
badges | ||
cache | ||
ccmenu | ||
cron | ||
forge | ||
grpc | ||
logging | ||
model | ||
pipeline | ||
plugins | ||
pubsub | ||
queue | ||
router | ||
store | ||
web | ||
config.go |