Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit a9544c3

Browse files
committed
S-262297 update
1 parent 2c15327 commit a9544c3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/java/main/com/topcoder/direct/services/view/dto/ActivityType.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ public enum ActivityType {
4949
/**
5050
* <p>An <code>ActivityType</code> corresponding to <code>Contest Launched</code> activity type.</p>
5151
*/
52-
CONTEST_COMPLETED("Contest Completed", "contestLaunch", "Posted By"),
52+
CONTEST_DRAFTED("Contest Drafted", "contestDraft", "Posted By"),
53+
54+
/**
55+
* <p>An <code>ActivityType</code> corresponding to <code>Contest Launched</code> activity type.</p>
56+
*/
57+
CONTEST_COMPLETED("Contest Completed", "contestCompleted", "Posted By"),
5358

5459
/**
5560
* <p>An <code>ActivityType</code> corresponding to <code>Contest Launched</code> activity type.</p>
@@ -131,6 +136,7 @@ public String getActionText() {
131136
* @return an <code>ActivityType</code> matching the specified name or <code>null</code> if there is none.
132137
*/
133138
public static ActivityType forName(String name) {
139+
134140
String value = (name == null) ? "" : name.trim();
135141
ActivityType[] types = ActivityType.values();
136142
for (int i = 0; i < types.length; i++) {

src/java/main/com/topcoder/direct/services/view/util/DataProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2612,7 +2612,7 @@ public static LatestProjectActivitiesDTO getLatestActivitiesForProject(long user
26122612

26132613
// set the value of direct project id
26142614
request.setProperty("tcdirectid", String.valueOf(projectId));
2615-
request.setProperty("uid", String.valueOf(userId));
2615+
//request.setProperty("uid", String.valueOf(userId));
26162616

26172617
// get the activities of last 15 days
26182618
request.setProperty("days", "15");

0 commit comments

Comments
 (0)