[chore] migrate oauth2 -> codeberg (#3857)

This commit is contained in:
tobi 2025-03-02 16:42:51 +01:00 committed by GitHub
commit 8488ac9286
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
65 changed files with 1677 additions and 1221 deletions

View file

@ -79,7 +79,7 @@ This will take ownership of the buffer until the stream is closed.
func EncodeStream(src []byte, dst io.Writer) error {
enc := s2.NewWriter(dst)
// The encoder owns the buffer until Flush or Close is called.
err := enc.EncodeBuffer(buf)
err := enc.EncodeBuffer(src)
if err != nil {
enc.Close()
return err