[PR #2807] [MERGED] Use api.TrackedTime in API #16603

Closed
opened 2025-11-02 12:14:27 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2807
Author: @ethantkoenig
Created: 10/31/2017
Status: Merged
Merged: 11/1/2017
Merged by: @lunny

Base: masterHead: fix/track_time_api


📝 Commits (4)

  • 1b47e16 Use api.TrackedTime in API
  • 02967fe APIFormat() method
  • a474910 Rename function
  • 0d2dca0 Merge branch 'master' into fix/track_time_api

📊 Changes

2 files changed (+47 additions, -16 deletions)

View changed files

📝 models/issue_tracked_time.go (+13 -0)
📝 routers/api/v1/repo/issue_tracked_time.go (+34 -16)

📄 Description

Use api.TrackedTime instead of models.TrackedTime in responses from time-tracking API endpoints.

cc @JonasFranzDEV


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2807 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 10/31/2017 **Status:** ✅ Merged **Merged:** 11/1/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/track_time_api` --- ### 📝 Commits (4) - [`1b47e16`](https://github.com/go-gitea/gitea/commit/1b47e1636d5cb9f6a7ac8196a11df34f74729f1e) Use api.TrackedTime in API - [`02967fe`](https://github.com/go-gitea/gitea/commit/02967fefe3a832d9696c11c40bffc08818e15c0f) APIFormat() method - [`a474910`](https://github.com/go-gitea/gitea/commit/a474910ba237660b8302aad82dfc9020bf94ee54) Rename function - [`0d2dca0`](https://github.com/go-gitea/gitea/commit/0d2dca04c5d7be7c520317cccac8a7ae26331836) Merge branch 'master' into fix/track_time_api ### 📊 Changes **2 files changed** (+47 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `models/issue_tracked_time.go` (+13 -0) 📝 `routers/api/v1/repo/issue_tracked_time.go` (+34 -16) </details> ### 📄 Description Use `api.TrackedTime` instead of `models.TrackedTime` in responses from time-tracking API endpoints. cc @JonasFranzDEV --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:14:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16603