[chore] migrate oauth2 -> codeberg

This commit is contained in:
tobi 2025-03-02 16:13:08 +01:00
commit 14e814956b
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