Skip to content

Commit 9be4b8d

Browse files
committed
fix: convert id to string
1 parent 9ce788f commit 9be4b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def update(
392392
if id is None:
393393
path = self.path
394394
else:
395-
path = "%s/%s" % (self.path, urllib.parse.quote_plus(id))
395+
path = "%s/%s" % (self.path, urllib.parse.quote_plus(str(id)))
396396

397397
self._check_missing_update_attrs(new_data)
398398
files = {}

0 commit comments

Comments
 (0)